VerifyCertificateCallback

The callback is invoked when certificate verification is required.

The callback can be used to verify SSL certificates using the different strategies defined in the Response.

Use the valid method to notify the engine that the certificate is valid.

Use the invalid method to notify the engine that the certificate is invalid.

Use the defaultAction method to allow the engine to verify the certificate by itself.

If the callback throws an exception, the defaultAction method will be invoked.

Types

Link copied to clipboard
interface Params
The parameters of the VerifyCertificateCallback.
Link copied to clipboard
interface Response

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.